<?php

class admin_model extends Model
{
	function __construct()
	{
		parent::Model();
	}
	
	function admin_model()
	{
		self::__construct();
	}
	
	/*function append_log
	* add an item to the list of admin actions.
	*/
	function append_log($username,$module,$action){
		$i = array(
			'username' => $username,
			'module' => $module,
			'action' => $action
		);
		$this->db->insert('recent',$i);
	}
}


?>
